<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/static/member/themes/YouErJiaoYu/header.jsp" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport"
	content="width=device-width initial-scale=1.0  maximum-scale=1.0">
<link href="${ctxStatic}/jquery-mobile/css/jquery.mobile-1.3.1.min.css" type="text/css" rel="stylesheet" />
<title>查看作业</title>
<script type="text/javascript">

$(document).ready(function() {
	$("#errorMessage").hide()
});

</script>
</head>
<body>

		

		<ul class="nav nav-tabs">
		   <li ><a href="${ctx}/edu/usercentraList/viewHomeWorkByToday?uid=${uid}&wechatId=${wechatId}&style=${style}">今日作业</a></li>
		  <li class="active"><a href="${ctx}/edu/usercentraList/viewHomeWork?uid=${uid}&wechatId=${wechatId}&style=${style}">查看作业</a></li>
		</ul>
		<div class="list-group">
		<c:forEach items="${homeworkList }" var="list">
		  <a href="#" class="list-group-item active">
		  ${list[0].date}
		  </a>
		  <c:forEach items="${list }" var="homework">
		  <a href="${ctx}/edu/usercentraList/viewHomeWorkAndComment?uid=${uid}&wechatId=${wechatId}&style=${style}&homework_id=${homework.id}" class="list-group-item">${homework.course }<span style="float:right;">${homework.date}</span><span style="float:right;" class="glyphicon glyphicon-calendar"></span></a> 
		  </c:forEach>
		  </c:forEach>
		</div>
</body>


<jsp:include page="./footer.jsp"></jsp:include>
</html>